package com.beans;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * \* Created with IntelliJ IDEA.
 * \* User: Administrator
 * \* Date: 2022/7/8
 * \* Time: 16:27
 * \* To change this template use File | Settings | File Templates.
 * \* Description:
 * \
 */

@Component
public class BeanScopd2 {

    @Autowired
    private User user3;
    public User getUser(){
        return user3;
    }
}
